package com.ruoyi.customerService.mapper;

import java.util.List;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.customerService.domain.CsCollaborativeTask;
import com.ruoyi.customerService.domain.vo.CsCollaborativeTaskCollectVo;
import com.ruoyi.customerService.domain.vo.CsCollaborativeTaskReturnUpdateVo;
import com.ruoyi.customerService.domain.vo.CsCollaborativeTaskReturnVo;
import com.ruoyi.customerService.domain.vo.CsCollaborativeTaskVo;

/**
 * taskMapper接口
 *
 * @author pyx
 * @date 2024-01-29
 */
public interface CsCollaborativeTaskMapper
{
    /**
     * 查询task
     *
     * @param id task主键
     * @return task
     */
    public CsCollaborativeTask selectCsCollaborativeTaskById(Long id);

    /**
     * 查询task列表
     *
     * @param csCollaborativeTask task
     * @return task集合
     */
    public List<CsCollaborativeTask> selectCsCollaborativeTaskList(CsCollaborativeTaskVo csCollaborativeTask);

    /**
     * 新增task
     *
     * @param csCollaborativeTask task
     * @return 结果
     */
    public int insertCsCollaborativeTask(CsCollaborativeTask csCollaborativeTask);

    /**
     * 修改task
     *
     * @param csCollaborativeTask task
     * @return 结果
     */
    public int updateCsCollaborativeTask(CsCollaborativeTask csCollaborativeTask);

    /**
     * 删除task
     *
     * @param id task主键
     * @return 结果
     */
    public int deleteCsCollaborativeTaskById(Long id);

    /**
     * 批量删除task
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCsCollaborativeTaskByIds(String[] ids);

    public int returnContent(CsCollaborativeTaskReturnVo csCollaborativeTaskReturnVo);

    public int collect(CsCollaborativeTaskCollectVo csCollaborativeTaskCollectVo);

    /**
     * 定时更新快递滞留天数
     *
     * @return 结果
     */
    public int updateRetentionDays();

    public int updateList(CsCollaborativeTaskReturnUpdateVo vo);






}
